<div id="login" class="warp">
  <div id="main">
   <div id="header">
      <div class="title">
        <h1>会员中心</h1>
        <div class="small">login</div>
      </div>
      <div class="fn-clear"></div>
    </div>
  
  <div class="fn-clear"></div>
  <div class="login-l">
  	<div class="form">
    <form action="{$url(login/login)}" method="post" id="form">
    	<ul>
            <li><label><span class="red">*</span> 用户名：</label> <input name="username" type="text" class="text" id="username"> </li>
            <li><label><span class="red">*</span> 密 码：</label> <input name="password" type="password" class="text" id="password" > </li>
            <li><label></label> <input name="remember" type="checkbox" value="1" id="remember"> <span class="red">一周内自动登录</span></li>
            <li><label></label> <button class="button" type="submit">提交</button> <span class="blue"><a href="{$url(forget/index)}">忘记密码？</a></span></li>
            <li><label></label> <span id="tip" class="load"></span></li>
        </ul>
    </form>
    </div>
    <div class="fn-clear"></div>
    <div class="sep10"></div>
    <div class="sep10"></div>
  </div>
  <div class="login-r">
  	<div class="title">
    	<h1>我们诚挚地邀请您加入<br>{$user_config.info_welcome}</h1>
    </div>
    <div class="sep10"></div>
    <div class="sep10"></div>
    <div class="sep10"></div>
    <center><span class="red">如果您还没有会员账户</span></center>
    <div class="sep10"></div>
    <div class="sep10"></div>
    <center>
    <a class="button" onclick="window.location.href='{$url(register/index)}'">立即注册</a>
    </center>
  </div>
  <div class="fn-clear"></div>
  </div>
</div>
<script>
Do.ready('userbase','form','dialog', function() {
	saveform(function(){
		window.location.href="{$url(index/index)}";
	});
});
</script> 